-
Notifications
You must be signed in to change notification settings - Fork 282
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ASSET_n to download guest assets for virt tests #21123
Use ASSET_n to download guest assets for virt tests #21123
Conversation
d4187bc
to
8758d29
Compare
LGTM. |
@Julie-CAO Hi Julie, yes , downloading assets from OSD require authentication, but still allowed. Can we add authentication related code instead? |
I have not had a good idea about authentication. "curl" or "wget" with someone's username and API secrete? In this case, 3 more openqa settings are required and the automation would be complex. |
Suggest to ask in https://suse.slack.com/archives/C02CANHLANP/p1737385075051679 to see if they have good suggestions. |
|
Marius gave two solutions:
Comparing the above methods, I am thinking of option 2 by using ASSET_N ..., but part of the filename is runtime created, I have to find out a feasible way... |
8758d29
to
1169d69
Compare
Hi, @alice-suse @waynechen55 @guoxuguang @nanzhg and others, A new solution is submitted, welcome review again. Verification is updated in PR description, more runs are on the way. |
1169d69
to
6b9b6e2
Compare
6b9b6e2
to
f69cc65
Compare
Verification is done and updated in PR description. PR is ready. |
LGTM |
You just changed from using |
Partly correct.
|
Seems no objection. Merge it so as to unblock public beta potential tests. Thanks Julie. |
Downloading assets from OSD require authentication to achieve CC compliance, refer to https://app.slack.com/client/T02863RC2AC/C02CANHLANP
Related ticket: https://progress.opensuse.org/issues/176589
Solution: Use ASSET_n to download guest assets.
Add
ASSET_n0
to indicate the path of vm xml file, andASSET_n1
for the vm disk file. fg.Advantages:
Disadvantages:
GUEST_LIST
, fg. to test a pv test only, you would have to re-setASSET_10/11
accordingly.Verification run:
a_chained_sriov_test
prj4_on_xen //pv & fv guest
prj4_guest_upgrade_sles15sp6_on_developing-xen //pv guest only
prj3
@alice-suse @waynechen55 @guoxuguang @nanzhg and others, welcome review!